home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
NCSA
/
tn3270 2.4d7 source
/
tn3270
/
deutsch.kbmap
< prev
next >
Wrap
Text File
|
1992-04-17
|
14KB
|
547 lines
#
# tn3270 for the Macintosh Source Code
# Brown University Computing and Information Services
# Version 2.4d7 April, 1992
# Copyright (c) 1988, 1989, 1990, 1991, 1992 by Brown University and by
# Peter John DiCamillo.
#
# Permission is granted to any individual or institution to use, copy,
# or redistribute the binary version of this software and its
# documentation provided this notice and the copyright notices are
# retained. Permission is granted to any individual or non-profit
# institution to use, copy, modify, or redistribute the source files
# of this software provided this notice and the copyright notices are
# retained. This software may not be distributed for profit, either
# in original form or in derivative works, nor can the source be
# distributed to other than an individual or a non-profit institution.
# Any individual or group interested in seeing and/or using these
# source files but who are prevented from doing so by the above
# constraints should contact Don Wolfe, Assistant Vice-President for
# Computer Systems at Brown University, (401) 863-7250, for possible
# software licensing of the source developed at Brown.
#
# Brown University and Peter John DiCamillo make no representations
# about the suitability of this software for any purpose.
#
# BROWN UNIVERSITY AND PETER JOHN DICAMILLO GIVE NO WARRANTY, EITHER
# EXPRESS OR IMPLIED, FOR THE PROGRAM AND/OR DOCUMENTATION PROVIDED,
# INCLUDING, WITHOUT LIMITATION, WARRANTY OF MERCHANTABILITY AND
# WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
#
#
# tn3270 keycode mapping definition
#
# General syntax rules:
# Case is ignored except in the name of the key mapping, and in character
# literals, e.g. 'a'.
#
# Blank lines, white space, and any text following "#" on a line is ignored.
#
# The three types of definition lines are the mapping name definition, the
# mapping number definition, and the key mapping definition:
#
# To name this mapping:
# name: {mapping name}
# Underscores in the name are replaced by blanks. Use two consecutive
# underscores to include an underscore in the name.
#
# To assign a resource number for this mapping:
# number: {resource number}
# This number is only used when the resource is written out in "Rez"
# file format.
#
# To map a function to a key sequence:
# function = [modifier] {'literal' | "hexcode" | "Khexcode"}
#
# Function names are listed below. Following each name enclosed in
# parenthesis is the EBCDIC hex code the name maps to.
# Punctuation Marks:
# space (40) cent (4A) period (4B) less (4C)
# lparen (4D) plus (4E) or (4F) ampersand (50)
# exclaim (5A) dollar (5B) asterisk (5C) rparen (5D)
# semi (5E) not (5F) minus (60) slash (61)
# vertical (6A) comma (6B) percent (6C) underscore (6D)
# greater (6E) question (6F) accent (79) colon (7A)
# pound (7B) at (7C) apostrophe (7D) equal (7E)
# dblquote (7F) tilde (A1) lbrack (AD) rbrack (BD)
# lbrace (C0) rbrace (D0)
# Lowercase Letters:
# lca through lci (81 through 89)
# lcj through lcr (91 through 99)
# lcs through lcz (A2 through A9)
# Uppercase Letters:
# a through i (C1 through C9)
# j through r (D1 through D9)
# s through z (E2 through E9)
# Digits:
# 0 through 9 (F0 through F9)
# APL Characters: (hex codes given are preceded by Graphics Escape)
# Note: APL mode must be in effect for these characters to be generated.
# a_ through i_ (41 through 49) (underscored uppercase letters)
# j_ through r_ (51 through 59)
# s_ through z_ (62 through 69)
# i-beam (DA) del-tilde (FB) grade-down (DC)
# grade-up (DD) vert-rotate (CD) transpose (CF)
# hor-rotate (ED) logarithm (FD) nor (CB)
# nand (CA) apl-exclaim (DB) domino (EE)
# quote-quad (DE) delta_ (FC) format (FE)
# execute (EF) lamp (DF) expand (EB)
# compress (EA)
# ALA Characters (for use the built-in ALA font)
# subfield_delimiter (1F) acute (9B)
# end_of_line (2A) ala_circumflex (9C)
# start_of_message (38) hacek (9D)
# paragraph (39) ligature_second_half (9E)
# dagger (3A) double_tilde_second_half (9F)
# double_dagger (3B) ala_dagger (A0)
# polish_l_upper (41) sub_plus (AA)
# scandinavian_o_upper (42) sub_lparen (AB)
# d_with_crossbar_upper (43) pincushion (AC)
# icelandic_thorn_upper (44) sub_minus (AE)
# digraph_ae_upper (45) sub_rparen (AF)
# digraph_oe_upper (46) sup0 (B0)
# o-hook_upper (47) sup1 (B1)
# u-hook_upper (48) sup2 (B2)
# soft_sign (49) sup3 (B3)
# polish_l_lower (51) sup4 (B4)
# scandinavian_o_lower (52) sup5 (B5)
# d_with_crossbar_lower (53) sup6 (B6)
# icelandic_thorn_lower (54) sup7 (B7)
# digraph_ae_lower (55) sup8 (B8)
# digraph_oe_lower (56) sup9 (B9)
# o-hook_lower (57) sup_plus (BA)
# u-hook_lower (58) sup_lparen (BB)
# hard_sign (59) asper (BC)
# ayn (62) sup_minus (BE)
# alif (63) sup_rparen (BF)
# dot_in_middle_of_line (64) circle_below (CA)
# turkish_i_lower (65) dot_below (CB)
# musical_flat (66) double_dot_below (CC)
# subscript_patent_mark (67) breve (CD)
# eth (68) ala_tilde (CE)
# plus_or_minus (69) pseudo_question (CF)
# sub0 (70) cedilla (DA)
# sub1 (71) high_comma_centered (DB)
# sub2 (72) right_hook (DC)
# sub3 (73) upadhmaniya (DD)
# sub4 (74) macron (DE)
# sub5 (75) double_acute (DF)
# sub6 (76) british_pound (E1)
# sub7 (77) right_cedilla (EA)
# sub8 (78) high_comma_off_center (EB)
# script_l (80) left_hook/tail (EC)
# circle_above (8A) ala_underscore (ED)
# superior_dot (8B) double_underscore (EE)
# umlaut (8C) ala_alpha (FA)
# candrabindu (8D) ala_beta (FB)
# ligature_first_half (8E) ala_gamma (FC)
# double_tilde_first_half (8F) yen (FD)
# sub9 (90) peso (FE)
# grave (9A)
# Attention Keys: (hex codes are the AID codes transmitted)
# pf1 through pf9 (F1 through F9)
# pf10 through pf12 (7A through 7C)
# pf13 through pf21 (C1 through C9)
# pf22 through pf24 (4A through 4C)
# enter (7D) pa1 (6C) pa2 (6E) pa3 (6B)
# clear (6D) treq (F0) cursel (7E)
# Cursor Movement:
# up down left right tab
# backtab newline home up*2 down*2
# left*2 right*2
# Editing:
# erase-eof erase-input delete-char insert-char
# dup field-mark rub-out
# Program Control:
# insert-mode (toggle insert mode)
# apl-mode (toggle keyboard APL mode)
# cursor-pos (toggle cursor position display)
# reset (unlock keyboard)
# prog-reset (reset program; resets above modes and I/O)
# print-screen (equivalent to "Print Screen..." from the "File" menu)
#
# Modifier is: normal, shift, command, command-shift, or option.
# If the user presses more than one modifier key, the precedence of the
# modifiers is: command-shift, command, option, and shift. It is not
# possible to specify mapping for other combinations, such as command-option.
# For ASCII key mappings, when "modifier" is omitted, the mapping applies
# to both "normal" and "shift". For keycode mappings, the default modifier
# is "normal", i.e. no modifiers.
#
# 'literal' specifies a mapping to the ASCII code defined by the character
# literal.
#
# "hexcode" specifies a mapping to the ASCII code given in hex. It must
# consist of exactly two hex digits.
#
# "Khexcode" specifies a keycode mapping to the code given in hex. It must
# consist of exactly two hex digits.
# If a keycode mapping is defined for a key, it takes precedence over an
# ASCII code mapping for it.
# Keycode mapping use the raw key codes provided by the Macintosh operating
# system for a key press event. They are hardware dependent, and should only
# be used when keys which must be distinguished return the same ASCII codes.
# For keycode values see "The Toolbox Event Manager" chapter in volumes 1 and
# 5 of "Inside Macintosh".
#
# tn3270 Austrian/German mapping
#
# The following table shows how the code point assignments are changed for
# Austrian/German vs. U.S. English:
#
#
# EBCDIC 4A 4F 5A 5B 5F 6A 79 7B 7C 7F A1 C0 D0 E0
# U.S. English ¢ | ! $ ¬ ** ` # @ " ~ { } \
# Austrian/German Ä ! Ü $ ^ ö ` # § " ß ä ü Ö
#
# ** - X'6A' in English is a broken vertical line
#
# The U.S. English characters are used to define the names for the code points.
#
name: Deutsch
number: 130
# charcter mappings
space = "20" # spaces are ignored in literals too
cent = 'Ä'
period = '.'
less = '<'
lparen = '('
plus = '+'
or = '!'
ampersand = '&'
exclaim = 'Ü'
dollar = '$'
asterisk = '*'
rparen = ')'
semi = ';'
not = '^'
minus = '-'
slash = '/'
vertical = 'ö'
comma = ','
percent = '%'
underscore = '_'
greater = '>'
question = '?'
accent = '`'
colon = ':'
pound = "23" # can't use comment delimiter in a literal!
at = '§'
apostrophe = '´'
equal = '='
dblquote = '"'
lca = 'a'
lcb = 'b'
lcc = 'c'
lcd = 'd'
lce = 'e'
lcf = 'f'
lcg = 'g'
lch = 'h'
lci = 'i'
lcj = 'j'
lck = 'k'
lcl = 'l'
lcm = 'm'
lcn = 'n'
lco = 'o'
lcp = 'p'
lcq = 'q'
lcr = 'r'
lcs = 's'
lct = 't'
lcu = 'u'
lcv = 'v'
lcw = 'w'
lcx = 'x'
lcy = 'y'
lcz = 'z'
tilde = 'ß'
lbrack = option '['
rbrack = option ']'
lbrace = 'ä'
rbrace = 'ü'
a = 'A'
b = 'B'
c = 'C'
d = 'D'
e = 'E'
f = 'F'
g = 'G'
h = 'H'
i = 'I'
j = 'J'
k = 'K'
l = 'L'
m = 'M'
n = 'N'
o = 'O'
p = 'P'
q = 'Q'
r = 'R'
s = 'S'
t = 'T'
u = 'U'
v = 'V'
w = 'W'
x = 'X'
y = 'Y'
z = 'Z'
backslash = 'Ö'
0 = '0'
1 = '1'
2 = '2'
3 = '3'
4 = '4'
5 = '5'
6 = '6'
7 = '7'
8 = '8'
9 = '9'
a_ = option "K00"
b_ = option "K0b"
c_ = option "K08"
d_ = option "K02"
e_ = option "K0e"
f_ = option "K03"
g_ = option "K05"
h_ = option "K04"
i_ = option "K22"
j_ = option "K26"
k_ = option "K28"
l_ = option "K25"
m_ = option "K2e"
n_ = option "K2d"
o_ = option "K1f"
p_ = option "K23"
q_ = option "K0c"
r_ = option "K0f"
s_ = option "K01"
t_ = option "K11"
u_ = option "K20"
v_ = option "K09"
w_ = option "K0d"
x_ = option "K07"
y_ = option "K10"
z_ = option "K06"
i-beam = option "K12"
del-tilde = option "K13"
grade-down = option "K14"
grade-up = option "K15"
# The next two lines conflict with [ and ]:
# vert-rotate = option "K17"
# transpose = option "K16"
hor-rotate = option "K1a"
logarithm = option "K1c"
nor = option "K19"
nand = option "K1d"
apl-exclaim = option "K1b"
domino = option "K18"
quote-quad = option "K1e"
delta_ = option "K2a"
format = option "K29"
execute = option "K27"
lamp = option "K2b"
expand = option "K2f"
compress = option "K2c"
# function mappings
enter = normal "0d"
pf1 = command '1'
pf1 = "K53" # keypad 1
pf1 = "K7a" # F1
pf1 = "K72" # help
pf2 = command '2'
pf2 = "K54" # keypad 2
pf2 = "K78" # F2
pf3 = command '3'
pf3 = "K55" # keypad 3
pf3 = "K63" # F3
pf3 = "K77" # end
pf4 = command '4'
pf4 = "K56" # keypad 4
pf4 = "K76" # F4
pf5 = command '5'
pf5 = "K57" # keypad 5
pf5 = "K60" # F5
pf6 = command '6'
pf6 = "K58" # keypad 6
pf6 = "K61" # F6
pf7 = command '7'
pf7 = "K59" # keypad 7
pf7 = "K62" # F7
pf7 = "K74" # page up
pf8 = command '8'
pf8 = "K5b" # keypad 8
pf8 = "K64" # F8
pf8 = "K79" # page down
pf9 = command '9'
pf9 = "K5c" # keypad 9
pf9 = "K65" # F9
pf10 = command '0'
pf10 = "K52" # keypad 0
pf10 = "K6d" # F10
pf11 = command 'ß'
pf11 = "K41" # keypad .
pf11 = "K67" # F11
pf12 = command '´'
pf12 = "K4c" # keypad enter
pf12 = "K6f" # F12
pf13 = command-shift '1'
pf13 = shift "K53" # keypad 1
pf13 = "K69" # F13
pf13 = shift "K7a" # F1
pf14 = command-shift '2'
pf14 = shift "K54" # keypad 2
pf14 = "K6b" # F14
pf14 = shift "K78" # F2
pf15 = command-shift '3'
pf15 = shift "K55" # keypad 3
pf15 = "K71" # F15
pf15 = shift "K63" # F3
pf16 = command-shift '4'
pf16 = shift "K56" # keypad 4
pf16 = shift "K76" # F4
pf17 = command-shift '5'
pf17 = shift "K57" # keypad 5
pf17 = shift "K60" # F5
pf18 = command-shift '6'
pf18 = shift "K58" # keypad 6
pf18 = shift "K61" # F6
pf19 = command-shift '7'
pf19 = shift "K59" # keypad 7
pf19 = shift "K62" # F7
pf20 = command-shift '8'
pf20 = shift "K5b" # keypad 8
pf20 = shift "K64" # F8
pf21 = command-shift '9'
pf21 = shift "K5c" # keypad 9
pf21 = shift "K65" # F9
pf22 = command-shift '0'
pf22 = shift "K52" # keypad 0
pf22 = shift "K6d" # F10
pf23 = command-shift 'ß'
pf23 = shift "K41" # keypad .
pf23 = shift "K67" # F11
pf24 = command-shift '´'
pf24 = shift "K4c" # keypad enter
pf24 = shift "K6f" # F12
pa1 = command ','
pa1 = "K51" # keypad = (ADB keypad)
pa1 = shift "K48" # keypad , (numeric/Plus keypad)
pa2 = command '.'
pa2 = "K4b" # keypad / (ADB keypad)
pa2 = shift "K4d" # keypad / (numeric/Plus keypad)
pa3 = command '-'
pa3 = command "03" # enter
clear = command 'c'
clear = "1b" # keypad clear
treq = command '/'
treq = "K43" # keypad * (ADB keypad)
treq = shift "K42" # keypad * (numeric/Plus keypad)
cursel = command 'l'
up = command 'u'
up = "1e" # up arrow code
down = command 'm'
down = command 'n'
down = "1f" # down arrow code
left = command 'h'
left = "1c" # left arrow code
left = normal "08" # backspace/delete code
right = command 'j'
right = command 'k'
right = "1d" # right arrow code
tab = normal "09" # tab key
backtab = shift "09"
newline = "03" # enter key
newline = shift "0d" # return key
home = command "0d" # return key
home = "K73" # home key
erase-eof = command 'e'
erase-eof = "K4e" # keypad -
erase-input = command-shift 'e'
erase-input = shift "K4e" # keypad -
insert-mode = command 'i'
insert-mode = "K45" # keypad + (ADB keypad)
insert-mode = shift "K46" # keypad + (numeric/Plus keypad)
delete-char = shift "08" # backspace/delete key
delete-char = "K75" # X (Del) key
reset = command 'r'
dup = command 'd'
field-mark = command 'f'
apl-mode = command 'a'
insert-char = option "08" # backspace/delete key
rub-out = command "08" # backspace/delete key
up*2 = command-shift 'u'
up*2 = option "1e" # up arrow code
down*2 = command-shift 'm'
down*2 = command-shift 'n'
down*2 = option "1f" # down arrow code
left*2 = command-shift 'h'
left*2 = option "1c" # left arrow code
right*2 = command-shift 'j'
right*2 = command-shift 'k'
right*2 = option "1d" # right arrow code
cursor-pos = command 'p'
prog-reset = command 'g'
print-screen = shift "K69" # F13